<div class="toolbox divider nobr">
	<input type="button" id="add_new_product" class="toolbar-button new add_new_product" value="Add New Product" />
</div>

<script type="text/javascript">		
	/**
	 * void window
	 *
	 */
	$$('.add_new_product').each(function(item)
	{
		item.addEvent('click', function(e)
		{
			e.stop();
			var id = item.getProperty('rel');
			var wid = id;					// Window ID. Ex: wuser120
			ION.formWindow(
				'1', 						// object ID
				'newProduct',// Form ID
				'New Product', 		// Window title
				'pr_product/page_product_new',	// Window content URL
				{width: 400,height: 400}	// Window options
			);
		});
	});	

</script>
